package d10_api_object;

public class Test {

    public static void main(String[] args) {
        Student s1 = new Student("张三", 18);
        System.out.println(s1);

        Student s2 = new Student("张三", 18);
        System.out.println(s2);

        s2.equals(s1);

        System.out.println(s2.equals(s1));
    }
}
